 <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">   
      <tr>
       <td >
       <table width="100%" border="0" cellspacing="0" cellpadding="0">
       <tr>
        <td width="9" background="${cache}/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#f3ffe3">
        <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#c0de98"  
         onmouseover="changeto()"  onmouseout="changeback()">
          <tr style="height:26px"> 
            <td width="4%"  background="${cache}/images/tab_14.gif" class="STYLE1">
            <div align="center" class="STYLE2 STYLE1">序号</div></td>
            <td width="8%"  background="${cache}/images/tab_14.gif" class="STYLE1">
            <div align="center" class="STYLE2 STYLE1">彩种名称</div></td>
            <td width="4%"  background="${cache}/images/tab_14.gif" class="STYLE1">
            <div align="center" class="STYLE2 STYLE1">场次</div></td>
            <td  width="8%" background="${cache}/images/tab_14.gif" class="STYLE1">
            <div align="center" class="STYLE2 STYLE1">期数</div></td> 
            <td  width="8%" background="${cache}/images/tab_14.gif" class="STYLE1">
            <div align="center" class="STYLE2 STYLE1">日期</div></td>  
             <td  width="15%" background="${cache}/images/tab_14.gif" class="STYLE1">
            <div align="center" class="STYLE2 STYLE1">开奖数据</div></td>  
            <td  width="6%" background="${cache}/images/tab_14.gif" class="STYLE1">
            <div align="center" class="STYLE2 STYLE1">状态</div></td>  
            <td  width="10%" background="${cache}/images/tab_14.gif" class="STYLE1">
            <div align="center" class="STYLE2 STYLE1">开奖时间</div></td>  
            <td  width="6%" background="${cache}/images/tab_14.gif" class="STYLE1">
            <div align="center" class="STYLE2 STYLE1">投注金额</div></td>  
            <td  width="6%" background="${cache}/images/tab_14.gif" class="STYLE1">
            <div align="center" class="STYLE2 STYLE1">中奖金额</div></td>  
            <td  width="6%" background="${cache}/images/tab_14.gif" class="STYLE1">
            <div align="center" class="STYLE2 STYLE1">返点金额</div></td> 
            <td   width="7%" background="${cache}/images/tab_14.gif" class="STYLE1">
            <div align="center" class="STYLE2 STYLE1">操作</div></td> 
          </tr>   
          <tbody id="configTb"> 
          [#assign bet_total=0]
          [#assign bet_Bonus=0]
          [#assign bet_rebate=0]
          [#list lotteryDataList.list as lotteryData]
          <tr style="height:25px;" > 
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">${lotteryData_index+1}</div></td>
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">${lotteryData.lotteryName!}</div></td>  
            <td  bgcolor="#FFFFFF" class="STYLE2">
            <div align="center" class="STYLE2 STYLE1"> ${lotteryData.lotteryNo!}</div> 
            </td> 
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
                [#if lotteryData.lotteryMatches?exists&&lotteryData.lotteryMatches!='']
                  ${lotteryData.lotteryMatches!}
                [#else]-&nbsp;-
                [/#if]
             </div>  
             </td>  
             <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
               [#if lotteryData.lotteryDate?exists]
                 ${lotteryData.lotteryDate?string('yyyy-MM-dd')}
               [/#if]
             </div>  
             </td>   
             <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
                [#if lotteryData.lotteryData?exists&&lotteryData.lotteryData!='']
                  ${lotteryData.lotteryData!}
                [#else]-&nbsp;-
                [/#if]
             </div>  
             </td>    
              <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
                [#if lotteryData.status?exists&&(lotteryData.status=='S')]
                                                        已开奖 
				[#elseif lotteryData.status?exists&&(lotteryData.status=='W')]
					 派奖中						 
                [#else]
                                                      未开奖
                [/#if]
             </div>  
             </td>    
              <td  bgcolor="#FFFFFF" class="STYLE2">
              <div align="center" class="STYLE2 STYLE1"> 
                    [#if lotteryData.status?exists&&(lotteryData.status=='S'||lotteryData.status=='W')&&lotteryData.lotteryTime?exists]
                       ${lotteryData.lotteryTime?string('yyyy-MM-dd HH:mm')} 
                      [#else] -&nbsp;-&nbsp;-&nbsp;-
                    [/#if] 
             </div>  
             </td>    
               <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1"> 
                    [#if lotteryData.betsAmount?exists]
                       ${lotteryData.betsAmount?string('0.0000')} 
                       [#assign bet_total=lotteryData.betsAmount+bet_total]
                      [#else]  -&nbsp;- 
                    [/#if] 
             </div>  
             </td>  
            
               <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
                   [#if lotteryData.betsBouns?exists]
                       ${lotteryData.betsBouns?string('0.0000')} 
                       [#assign bet_Bonus=lotteryData.betsBouns+bet_Bonus]
                      [#else]  -&nbsp;- 
                    [/#if] 
             </div>  
             </td>     
               <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
                    [#if lotteryData.betRebate?exists]
                       ${lotteryData.betRebate?string('0.0000')} 
                       [#assign bet_rebate=lotteryData.betRebate+bet_rebate]
                      [#else]  -&nbsp;- 
                    [/#if] 
             </div>  
             </td>  
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">  
              [#if lotteryData.status?exists&&lotteryData.status=='N']
                <span class="STYLE2">
                  <img src="${cache}/images/037.gif" width="9" height="9" /></span>
                  <span class="STYLE1">  [</span>
               <a  href="javascript:manualDrawing('${lotteryData.id!}')" > 手动开奖 </a><span class="STYLE1">] 
               </span>
                 [#else]-&nbsp;-
               [/#if]
              </div>  
              </td> 
          </tr>  
            [/#list]
           <tr style="height:25px;" > 
            <td  bgcolor="#FFFFFF" class="STYLE2" colspan="2">
            <div align="center" class="STYLE2 STYLE1">本页总结</div></td>  
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">-&nbsp;-</div></td> 
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">-&nbsp;-</div></td>  
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">-&nbsp;-</div></td>   
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">-&nbsp;-</div></td>    
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">-&nbsp;-</div></td>    
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">-&nbsp;-</div></td>    
               <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
                 ${bet_total?string('0.0000')} 
             </div>  
             </td>  
               </td>    
               <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
                  ${bet_Bonus?string('0.0000')} 
             </div>  
             </td>  
               </td>    
               <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
                  ${bet_rebate?string('0.0000')}  
             </div>  
             </td>  
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">-&nbsp;-</div></td> 
           </tr>   
            <tr style="height:25px;" > 
            <td  bgcolor="#FFFFFF" class="STYLE2" colspan="2">
            <div align="center" class="STYLE2 STYLE1">全部总结</div></td>  
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">-&nbsp;-</div></td> 
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">-&nbsp;-</div></td>  
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">-&nbsp;-</div></td>   
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">-&nbsp;-</div></td>    
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">-&nbsp;-</div></td>    
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">-&nbsp;-</div></td>    
               <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
                  ${statisticsData.betsAmount?string('0.0000')}
             </div>  
             </td>  
               </td>    
               <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
                   ${statisticsData.betsBouns?string('0.0000')}
             </div>  
             </td>  
               </td>    
               <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">
                  ${statisticsData.betRebate?string('0.0000')}
             </div>  
             </td>  
            <td  bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">-&nbsp;-</div></td> 
           </tr>  
            </tbody>
           </table>
          </td>
          </tr>  
       </table>
     </td> 
    </tr>
   </table> 
      [@pg.html pageModel=lotteryDataList queryFn="queryLotteryDataForm" gotoPage="gotoPage"][/@pg.html]  